package cn.edu.service.impl;

import cn.edu.dao.User_login;
import cn.edu.domain.User;
import cn.edu.service.User_loginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author:David chan
 * @data:2022/8/5
 */
@Service
public class User_loginServiceImpl implements User_loginService {
    @Autowired
    private User_login l;
    @Override
    public User Col_login(int id, String password) {

        User user = l.Col_login(id, password);

        return user;
    }

    @Override
    public User Dep_login(int id, String password) {

        User user = l.Dep_login(id, password);
        return user;
    }

    @Override
    public User lead_login(int id, String password) {
        User user = l.Lead_login(id, password);
        return user;
    }
}
